package com.fl.ui;

import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

import org.apache.log4j.Logger;

import com.fl.util.ContentUtil;

public class DownloadUI extends SubUIModule {
	private static Logger log = Logger.getLogger(DownloadUI.class);
	
	@Override
	public String getName() {
		// 返回名称
		return ContentUtil.getString("DownloadUI.tooltip");
	}

	/**
	 * Create the dialog.
	 */
	public DownloadUI(WorkUI swingset) {

		super(swingset, "DownloadUI", "toolbar/JButton.gif");

		JPanel panel = getSubUIPanel();
		panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
		
		
		JLabel lblNewLabel = new JLabel(ContentUtil.getString("DownloadUI.tooltip"));
		panel.add(lblNewLabel);
		
		JButton okButton = new JButton("OK");
		panel.add(okButton);
	}
}
